class GetPrint:
    buff = ""

    def write(self, str):
        self.buff += str
